<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>accordion</title>
<script src="../jQuery/jquery_1.4.2.js" type="text/javascript"></script>
<style>
	.box{float:left;width:200px;border:1px solid white;}
	dl{margin-top:0px;}
	.box dt,.box dd{background-color:#990000;color:white;padding:3px;}
	.box dt{font-size:14px;font-weight:bold;border-top:1px solid white;height:20px;}
	.box dd{padding-left:0px;margin-left:0px;font-size:12px;display:none;}
	.superman{background:url(../images/p7.jpg);width:100%;height:100px;display:block;}
</style>
</head>

<body>
<div class="box">
	<h3>Superman</h3>
	<a href="#" class="superman">&nbsp;</a>
	<dl>
		<dt>super power</dt>
		<dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
		quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
		<dt>Costume</dt>
		<dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
		quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
		<dt>Costume</dt>
		<dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
		quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
		<dt>Costume</dt>
		<dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
		quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
	</dl>
</div>
</body>
<script>
$(function(){
	$('.box').clone(true).appendTo('body');
	$('.box').clone(true).appendTo('body');
	$('.box dt').click(function(){
		$('.box dd').hide();
		$('.box').stop().animate({'width':'200px'},500);
		$(this).closest('div').stop().animate({'width':'300px'},500);
		$(this).next().stop().slideDown('fast');
	});
});
</script>
</html>
